<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Application.Master" Inherits="System.Web.Mvc.ViewPage<DomainModel.Entities.JobHistory>" %>

<asp:Content ContentPlaceHolderID="TitleContent" runat="server">
	JobHistory
</asp:Content>

<asp:Content ContentPlaceHolderID="MainContent" runat="server">

    <%= Html.ValidationSummary("Create was unsuccessful. Please correct the errors and try again.") %>

    <% using (Html.BeginForm()) {%>

        <fieldset class="staffingexpert">
            <legend class="staffingexpert">Job History Information</legend>
            <%= Html.Hidden("JobHistoryID") %>
            <%= Html.Hidden("ApplicationID") %>
            <p>
                <label class="staffingexpert" for="Name">Name:</label>
                <%= Html.TextBox("Name", null, new { @class = "staffingexperttextbox", @style = "width: 400px;" }) %>
                <%= Html.ValidationMessage("Name", "*") %>
            </p>
            <p>
                <label class="staffingexpert" for="Address">Address:</label>
                <%= Html.TextBox("Address", null, new { @class = "staffingexperttextbox", @style = "width: 400px;" }) %>
                <%= Html.ValidationMessage("Address", "*") %>
            </p>
            <p>
                <label class="staffingexpert" for="PhoneNumber">Phone Number:</label>
                <%= Html.TextBox("PhoneNumber", null, new { @class = "staffingexperttextbox", @style = "width: 80px;" }) %>
                <%= Html.ValidationMessage("PhoneNumber", "*") %>
            </p>
            <p>
                <label class="staffingexpert" for="SupervisorName">Supervisor's Name:</label>
                <%= Html.TextBox("SupervisorName", null, new { @class = "staffingexperttextbox", @style = "width: 400px;" }) %>
                <%= Html.ValidationMessage("SupervisorName", "*") %>
            </p>
            <p>
                <label class="staffingexpert" for="StartDate">Start Date (MM/DD/YYYY):</label>
                <%= Html.TextBox("StartDate", null, new { @class = "staffingexperttextbox", @style = "width: 120px;" }) %>
                <%= Html.ValidationMessage("StartDate", "*") %>
            </p>
            <p>
                <label class="staffingexpert" for="EndDate">End Date (MM/DD/YYYY):</label>
                <%= Html.TextBox("EndDate", null, new { @class = "staffingexperttextbox", @style = "width: 120px;" }) %>
                <%= Html.ValidationMessage("EndDate", "*") %>
            </p>
            <p>
                <label class="staffingexpert" for="StartSalary">Start Salary:</label>
                <%= Html.TextBox("StartSalary", null, new { @class = "staffingexperttextbox", @style = "width: 100px;" }) %>
                <%= Html.ValidationMessage("StartSalary", "*") %>
            </p>
            <p>
                <label class="staffingexpert" for="EndSalary">End Salary:</label>
                <%= Html.TextBox("EndSalary", null, new { @class = "staffingexperttextbox", @style = "width: 100px;" }) %>
                <%= Html.ValidationMessage("EndSalary", "*") %>
            </p>
            <p>
                <label class="staffingexpert" for="Responsibilities">Responsibilities:</label>
                <%= Html.TextBox("Responsibilities", null, new { @class = "staffingexperttextbox", @style = "width: 400px;" }) %>
                <%= Html.ValidationMessage("Responsibilities", "*") %>
            </p>
            <p>
                <label class="staffingexpert" for="ReasonForLeaving">Reason For Leaving:</label>
                <%= Html.TextBox("ReasonForLeaving", null, new { @class = "staffingexperttextbox", @style = "width: 400px;" })%>
                <%= Html.ValidationMessage("ReasonForLeaving", "*") %>
            </p>
            <p>
                <input type="submit" name="submitButton" value="Add More Job Histories" />
                <input type="submit" name="submitButton" value="Submit Job Histories"/>&nbsp;
                <input type="submit" name="submitButton" value="Skip Job Histories"/>
            </p>
        </fieldset>

    <% } %>

    <div>
        <p><%=Html.ActionLink("Back to List", "Index") %></p>
    </div>

</asp:Content>

